package com.msb.mall.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.msb.common.dto.SeckillOrderDto;
import com.msb.common.utils.PageUtils;
import com.msb.mall.order.entity.OrderEntity;
import com.msb.mall.order.vo.OrderConfirmVo;
import com.msb.mall.order.vo.OrderResponseVO;
import com.msb.mall.order.vo.OrderSubmitVO;
import com.msb.mall.order.vo.PayVo;

import java.util.List;
import java.util.Map;

/**
 * 订单
 *
 * @author wulongsen
 * @email wulongsen@foxmail.com
 * @date 2024-10-27 21:16:44
 */
public interface OrderService extends IService<OrderEntity> {

    PageUtils queryPage(Map<String, Object> params);

    OrderConfirmVo confirmOrder();

    OrderResponseVO submitOrder(OrderSubmitVO vo);

    void handleOrderComplete(String orderSn);

    PayVo getOrderPay(String orderSn);

    List<Map<String,Object>> getOrdersByUserId(Long userId);

}

